import {
  configureStore
} from '@reduxjs/toolkit';

import countReducer from './slice/countSlice'
import movieReducer from "./slice/movieSlice"
//这个自动帮我带中间件，我只需要写配置就行了
const store = configureStore({
  reducer: {
    count: countReducer,
    movie:movieReducer
  }
})

export default store